<?php

namespace App\Http\Controllers\Admin;

use App\Http\Controllers\Controller;
use App\Services\MemberService;
use Illuminate\Http\Request;

class MemberController extends Controller
{
    private $memberService;
    public function __construct(MemberService $memberService)
    {
        $this->memberService = $memberService;
    }
    public function getMemberList(Request $request)
    {
        $params = $request->input();
        $result = $this->memberService->getMemberList($params);
        return $this->responseSuccess($result);
    }

    public function getMemberCoudList(Request $request)
    {
        $params = $request->input();
        $result = $this->memberService->getMemberCoudList($params);
        return $this->responseSuccess($result);
    }
    public function getMatchList(Request $request)
    {
        $params = $request->input();
        $result = $this->memberService->getMatchList($params);
        return $this->responseSuccess($result);
    }

}
